// HelloWorld.vue
<template>
  <div>
    <p>text:{{text}}</p>
    <p>UPPER TEXT:{{textUpper}}</p>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
@Component
export default class HelloWorld extends Vue {
  private text: string = "hello";
  get textUpper(): string {
    return this.text.toUpperCase();
  }
}
</script>
 